﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>贴吧项目</title>
    <link rel="icon" href="${pageContext.request.contextPath}/static/admin/favicon.ico" type="image/ico">
    <link href="${pageContext.request.contextPath}/static/admin/css/style.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/admin/css/theme.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/admin/css/fonts.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/static/admin/js/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/admin/js/bootstrap.js"></script>
    <script src="${pageContext.request.contextPath}/static/admin/js/jquery.cookie.js"></script>
    <script src="${pageContext.request.contextPath}/static/admin/js/framework.js"></script>
</head>

<body class="theme-blue-gradient pace-done" style="overflow: hidden;background-color: #d9d9d9 ">
<div class="pace  pace-inactive" style="background-color: #d9d9d9;>
    <div class=" pace-progress
" style="width: 100%;" data-progress-text="100%" data-progress="99">
<div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div>
</div>
<div id="ajax-loader"
     style="background: rgb(255, 255, 255); left: -50%; top: -50%; width: 200%; height: 200%; overflow: hidden; display: none; position: fixed; z-index: 10000; cursor: progress;">
    <img style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;" src="images/loader.gif">
</div>
<div id="theme-wrapper">
    <header class="navbar" id="header-navbar">
        <div class="container" style="padding-right: 0px;border-radius: 40px">
            <a class="navbar-brand" id="logo" href="#">
                <c:if test="${createUser.rId==2}">
                    后台管理系统
                </c:if>
                <c:if test="${createUser.rId==1}">
                    校友集
                </c:if>
            </a>
            <div class="clearfix">
                <div class="nav-no-collapse navbar-left pull-left hidden-sm hidden-xs">
                    <ul class="nav navbar-nav pull-left">
                        <li>
                            <a id="make-small-nav">
                                <div class="ftdms-aside-toggler">
                                    <span class="ftdms-toggler-bar"></span>
                                    <span class="ftdms-toggler-bar"></span>
                                    <span class="ftdms-toggler-bar"></span>
                                </div>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="nav-no-collapse pull-right" id="header-nav">
                    <ul class="nav navbar-nav pull-right">
                        <li class="dropdown profile-dropdown">
                            <a class="dropdown" href="#" data-toggle="dropdown">
                                <!-- <img class="img-qrcode img-qrcode-46" src="images/ftsucai.png" alt="用户头像" /> -->
                                <span class="hidden-xs">当前用户：${createUser.uName}&nbsp;&nbsp;&nbsp;&nbsp;角色：
                                    <c:if test="${createUser.rId==2}">
                                        管理员
                                    </c:if>
                                    <c:if test="${createUser.rId==7}">
                                        学校官方
                                    </c:if>
                                    <c:if test="${createUser.rId==1}">
                                        学生
                                    </c:if>
                                </span>
                            </a>
                            <ul class="dropdown-menu pull-right">
                                <%--<li>
                                    <a class="submenuitem" href="pages_profile.html" data-id="rofile"
                                       data-index="100"><i class="ft ftsucai-58"></i>个人信息</a>
                                </li>
                                <li>
                                    <a class="submenuitem" href="pages_edit_pwd.html" data-id="linkpwd"
                                       data-index="101"><i class="ft ftsucai-edit-2"></i>修改密码</a>
                                </li>--%>
                                <li>
                                    <a href="${pageContext.request.contextPath}/exit.action"><i
                                            class="ft ftsucai-exit2"></i>安全退出</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    <div class="container" id="page-wrapper" style="border-radius: 30px">
        <div class="row" style="border-radius: 30px">
            <div id="nav-col">
                <section class="col-left-nano" id="col-left">
                    <div class="col-left-nano-content" id="col-left-inner">
                        <div class="collapse navbar-collapse navbar-ex1-collapse" id="sidebar-nav">
                            <ul class="nav nav-pills nav-stacked">
                                <li>
                                    <a class="dropdown-toggle" href="#" data-id="a1">
                                        <i class="ft ftsucai-82"></i>
                                        <span>后台首页</span>
                                        <i class="ft ftsucai-139 drop-icon"></i>
                                    </a>
                                </li>
                                <li>
                                    <a class="dropdown-toggle" href="#" data-id="a2">
                                        <i class="ft ftsucai-UI"></i>
                                        <span>外卖商家管理</span>
                                        <i class="ft ftsucai-139 drop-icon"></i>
                                    </a>
                                    <ul class="submenu">
                                        <li>
                                            <a class="submenuitem"
                                               href="${pageContext.request.contextPath}/businesslist.action"
                                               data-id="link1" data-index="1">商家列表</a>
                                        </li>
                                        <c:if test="${createUser.rId==1}">
                                            <li>
                                                <a class="submenuitem"
                                                   href="${pageContext.request.contextPath}/toindentlist.action"
                                                   data-id="link1" data-index="1">我的订单</a>
                                            </li>
                                        </c:if>
                                    </ul>
                                </li>
                                <%-- <li>
                                     <a class="dropdown-toggle" href="#" data-id="a3">
                                         <i class="ft ftsucai-edit-2"></i>
                                         <span>招聘管理</span>
                                         <i class="ft ftsucai-139 drop-icon"></i>
                                     </a>
                                     <ul class="submenu">
                                         <li>
                                             <a class="submenuitem"
                                                href="${pageContext.request.contextPath}/admin/joinlist.action"
                                                data-id="link21" data-index="21">招聘列表</a>
                                         </li>
                                         <c:if test="${createUser.rId==2}">
                                             <li>
                                                 <a class="submenuitem"
                                                    href="${pageContext.request.contextPath}/admin/toaddjoin.action"
                                                    data-id="link21" data-index="21">招聘添加</a>
                                             </li>

                                             <li>
                                                 <a class="submenuitem"
                                                    href="${pageContext.request.contextPath}/admin/jobpersonlist.action"
                                                    data-id="link21" data-index="21">招聘发布人</a>
                                             </li>
                                         </c:if>
                                         <li>
                                             <a class="submenuitem"
                                                href="${pageContext.request.contextPath}/admin/tojobcharts.action"
                                                data-id="link21" data-index="21">招聘视图</a>
                                         </li>

                                     </ul>
                                 </li>--%>
                                <li>
                                    <a class="dropdown-toggle" href="#" data-id="a3">
                                        <i class="ft ftsucai-edit-2"></i>
                                        <span>闲置品管理</span>
                                        <i class="ft ftsucai-139 drop-icon"></i>
                                    </a>
                                    <ul class="submenu">
                                        <li>
                                            <a class="submenuitem"
                                               href="${pageContext.request.contextPath}/usedlist.action"
                                               data-id="link21" data-index="21">闲置品列表</a>
                                        </li>
                                        <c:if test="${createUser.rId==1}">
                                            <li>
                                                <a class="submenuitem"
                                                   href="${pageContext.request.contextPath}/infousedlist.action"
                                                   data-id="link21" data-index="21">我的闲置品留言列表列表</a>
                                            </li>
                                            <li>
                                                <a class="submenuitem"
                                                   href="${pageContext.request.contextPath}/infomessagelist.action"
                                                   data-id="link21" data-index="21">我的闲置品留言列表列表</a>
                                            </li>
                                        </c:if>
                                        <li>
                                            <a class="submenuitem"
                                               href="${pageContext.request.contextPath}/messagelist.action"
                                               data-id="link21" data-index="21">闲置品留言列表</a>
                                        </li>

                                    </ul>
                                </li>
                                <c:if test="${createUser.rId==2}">
                                    <li>
                                        <a class="dropdown-toggle" href="#" data-id="a3">
                                            <i class="ft ftsucai-edit-2"></i>
                                            <span>超级管理员管理之用户管理</span>
                                            <i class="ft ftsucai-139 drop-icon"></i>
                                        </a>
                                        <ul class="submenu">
                                            <li>
                                                <a class="submenuitem"
                                                   href="${pageContext.request.contextPath}/admin/userlist.action"
                                                   data-id="link21" data-index="21">用户列表</a>
                                            </li>
                                                <%--<li>
                                                    <a class="submenuitem"
                                                       href="${pageContext.request.contextPath}/admin/messagelist.action"
                                                       data-id="link21" data-index="21">添加用户</a>
                                                </li>--%>
                                        </ul>
                                    </li>
                                </c:if>
                                <li>
                                    <a class="dropdown-toggle" href="#" data-id="a3">
                                        <i class="ft ftsucai-edit-2"></i>
                                        <span>帖子管理</span>
                                        <i class="ft ftsucai-139 drop-icon"></i>
                                    </a>
                                    <ul class="submenu">
                                        <li>
                                            <a class="submenuitem"
                                               href="${pageContext.request.contextPath}/invitationlist.action"
                                               data-id="link21" data-index="21">帖子列表</a>
                                        </li>
                                        <c:if test="${createUser.rId==2}">
                                            <li>
                                                <a class="submenuitem"
                                                   href="${pageContext.request.contextPath}/admin/invitationtypelist.action"
                                                   data-id="link21" data-index="21">帖子类型列表</a>
                                            </li>
                                        </c:if>
                                        <li>
                                            <a class="submenuitem"
                                               href="${pageContext.request.contextPath}/remarklist.action"
                                               data-id="link21" data-index="21">帖子评论列表</a>
                                        </li>
                                    </ul>
                                </li>
                                <c:if test="${createUser.rId==2}">
                                    <li>
                                        <a class="dropdown-toggle" href="#" data-id="a4">
                                            <i class="ft ftsucai-315"></i>
                                            <span>统计管理</span>
                                            <i class="ft ftsucai-139 drop-icon"></i>
                                        </a>
                                        <ul class="submenu">
                                            <li>
                                                <a class="submenuitem" href="admin/tochart.action" data-id="link31"
                                                   data-index="31">视图统计功能</a>
                                            </li>
                                        </ul>
                                    </li>
                                </c:if>
                                <li>
                                    <a class="dropdown-toggle" href="#" data-id="a4">
                                        <i class="ft ftsucai-315"></i>
                                        <span>校园公益</span>
                                        <i class="ft ftsucai-139 drop-icon"></i>
                                    </a>
                                    <ul class="submenu">
                                        <c:if test="${createUser.rId==2}">
                                            <li>
                                                <a class="submenuitem" href="admin/clothinglist.action" data-id="link31"
                                                   data-index="31">管理员捐赠列表</a>
                                            </li>
                                        </c:if>
                                        <c:if test="${createUser.rId==1}">
                                            <li>
                                                <a class="submenuitem" href="clothinglist.action" data-id="link31"
                                                   data-index="31">用户捐赠列表</a>
                                            </li>
                                            <li>
                                                <a class="submenuitem" href="toclothingadd.action" data-id="link31"
                                                   data-index="31">捐赠</a>
                                            </li>
                                        </c:if>
                                        <%--<li>
                                            <a class="submenuitem" href="clothinglistuser.action" data-id="link31"
                                               data-index="31">统计图</a>
                                        </li>--%>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </section>
            </div>
            <div id="content-wrapper">
                <div class="content-tabs" style="height:44px;border-bottom:2px solid #f0f0f0;">
                    <button class="roll-nav roll-left tabLeft">
                        <i class="ft ftsucai-backward2"></i>
                    </button>
                    <nav class="page-tabs menuTabs">
                        <div class="page-tabs-content" style="margin-left: 0px;">
                            <a class="menuTab active" href="javascript:;" data-id="list.html">欢迎首页</a>
                        </div>
                    </nav>
                    <button class="roll-nav roll-right tabRight">
                        <i class="ft ftsucai-forward3"></i>
                    </button>
                    <div class="btn-group roll-nav roll-right">
                        <button class="dropdown tabClose" data-toggle="dropdown">页签操作
                            <i class="ft caret" style="padding-top: 3px;"></i>
                        </button>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <li>
                                <a class="tabReload" href="javascript:void();"><i class="ft ftsucai-spinner3"></i>刷新当前页面</a>
                            </li>
                            <li>
                                <a class="tabCloseCurrent" href="javascript:void();"><i class="ft ftsucai-close-3"></i>关闭当前页面</a>
                            </li>
                            <li>
                                <a class="tabCloseAll" href="javascript:void();"><i class="ft ftsucai-77"></i>关闭全部页面</a>
                            </li>
                            <li>
                                <a class="tabCloseOther" href="javascript:void();"><i class="ft ftsucai-120"></i>除此之外全关</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="content-iframe" style="background-color: #f9f9f9;">
                    <div class="mainContent" id="content-main" style="margin: 0px; padding: 0px; height: 1050px;">
                        <iframe name="main_iframe" width="100%" height="100%" class="main_iframe" id="default"
                                src="${pageContext.request.contextPath}/welcome.action" frameborder="0"
                                data-id="list.html"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="loadingPage" style="display: none;">
    <div class="loading-shade"></div>
    <div class="loading-content" onClick="$.loading(false)">数据加载中，请稍后…</div>
</div>
<script src="${pageContext.request.contextPath}/static/admin/js/index.js"></script>
<script src="${pageContext.request.contextPath}/static/admin/js/indextab.js"></script>
<script src="${pageContext.request.contextPath}/static/admin/js/pace.min.js"></script>
</body>

</html>